using Facebook.Fluent;

namespace Facebook.Fluent
{
    public class FromFluentInterface
    {
        public FQLQuery Query { get; set; }

        public FromFluentInterface(FQLQuery query)
        {
            Query = query;
        }

        public WhereFluentInterface<Table> From<Table>()
        {
            Query.AddFrom(typeof(Table).Name);
            return new WhereFluentInterface<Table>(Query);
        }
    }
}